package cn.zl.springbootmqtt.service.impl;


import cn.zl.springbootmqtt.entity.DeviceStatus;
import cn.zl.springbootmqtt.mapper.DeviceMapper;
import cn.zl.springbootmqtt.service.DeviceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Description:
 * @Author: zllwsy
 * @Date: 2020/11/4 16:57
 */
@Service("deviceService")
public class DeviceServiceImpl implements DeviceService {
    @Autowired
    private DeviceMapper deviceMapper;
    @Override
    public int insert(DeviceStatus deviceStatus) {
        return deviceMapper.insert(deviceStatus);
    }
}
